function direc2(el,binding,vnode){
    console.log("全局指令2",el,binding,vnode);
}

export default{
    inserted(el,binding,vnode){
        direc2(el,binding,vnode);
    },
    componentUpdated(el,binding,vnode){
        direc2(el,binding,vnode);
    }
}